import Layout from '@/layout/index.vue'

const testRouter = {
  path: '/test',
  component: Layout,
  redirect: 'noRedirect',
  name: '测试模块',
  meta: {
    title: '测试模块',
    icon: 'lock',
    roles: ['sys:test-tree:tree']
  },
  children: [
    {
      path: 'user',
      component: () => import('@/views/sys/test/tree/index'),
      name: '树形数据',
      meta: { title: '树形数据', noCache: true, roles: ['sys:test-tree:tree'] }
    }
  ]
}

export { testRouter }
